package com.dx.financehy.modules.schedule.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dx.financehy.modules.schedule.domain.Schedule;
import com.dx.financehy.modules.schedule.domain.dto.AddEditScheduleDTO;
import com.dx.financehy.modules.schedule.domain.dto.GetScheduleDTO;
import com.dx.financehy.modules.schedule.domain.vo.ScheduleVO;
import com.dx.financehy.modules.system.domain.dto.BaseDTO;

import java.util.List;

/**
 * @author: huang_jigao
 * @Title: ScheduleService
 * @ProjectName: financehy
 * @Description:
 * @date: 2024-05-16 8:49
 */
public interface ScheduleService extends IService<Schedule> {

    /**
     * 待办事项
     *
     * @param req
     * @return
     */
    List<ScheduleVO> getList(GetScheduleDTO req);

    /**
     * 获取待办事项详情
     *
     * @param req
     * @return
     */
    ScheduleVO getScheduleDetail(BaseDTO req);

    /**
     * 新增编辑待办事项
     *
     * @param dto
     */
    void addSchedule(AddEditScheduleDTO dto);

    /**
     * 删除待办事项
     *
     * @param req
     */
    void delSchedule(BaseDTO req);
}
